package com.woniuxy.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniuxy.entity.dto.AddOrderListDTO;
import com.woniuxy.util.ResponseData;

import java.text.ParseException;
import java.util.List;

/**
 * @BelongsProject: pigTrotterStore
 * @BelongsPackage: com.woniuxy.service
 * @Author: Quan
 * @Date: 2025/3/21 14:50
 */
public interface TakeOutGoodsService {
	/**
	 * @Description: 查询全部商品
	 * @Param: []
	 * @return: com.woniuxy.util.ResponseData<?>
	 * @Author: Quan
	 * @Date: 2025/3/21
	 */
	ResponseData<?> queryAll();

	ResponseData<?> addTakeOutOrder(List<AddOrderListDTO> addOrderMsgList) throws InterruptedException, ParseException, JsonProcessingException;

	ResponseData<?> payMoney(String orderNum);

	ResponseData<?> queryFoodInfo(String name);
}
